//
//  Status.swift
//  WeiBo
//
//  Created by wukeng on 16/8/31.
//  Copyright © 2016年 wukeng. All rights reserved.
//

import UIKit

class Status: NSObject {
    var created_at : String?
    var text : String?
    var source : String?
    var mid : Int = 0
    var user : User?                     //微博对应的用户
    var pic_urls : [[String : String]]?  //微博配图
    

    init(dict : [String : AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
        if let userDict = dict["user"] as? [String : AnyObject] {
            user = User(dict: userDict)
        }
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
}




